//
//  otherCell.m
//  nmrsc
//
//  Created by xumckay on 16/1/12.
//  Copyright © 2016年 bric. All rights reserved.
//

#import "otherCell.h"

@implementation otherCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        UIView *lineView=[[UIView alloc]initWithFrame:CGRectMake(0,0,kDeviceWidth,15)];
        lineView.backgroundColor=COLOR(245, 245, 245, 1);
        [self.contentView addSubview:lineView];
        
        _titleBtn=[[titleButton alloc]initWithFrame:CGRectMake(15,(111-15)/4+5,150,18)];
        [_titleBtn setTitleColor:COLOR(120, 120, 120, 1) forState:UIControlStateNormal];
        _titleBtn.titleLabel.font=[UIFont systemFontOfSize:15];
        [self.contentView addSubview:_titleBtn];
        
        UIView *sep=[[UIView alloc]initWithFrame:CGRectMake(0,15,kDeviceWidth,1)];
        sep.backgroundColor=COLOR(200, 200, 200, 1);
        [self addSubview:sep];
        
        UIView *sep1=[[UIView alloc]initWithFrame:CGRectMake(0,15+(111-15)/2,kDeviceWidth,1)];
        sep1.backgroundColor=COLOR(200, 200, 200, 1);
        [self addSubview:sep1];
        
        _telePhone=[[titleButton alloc]initWithFrame:CGRectMake(15,(111-15)/2+30,200,18)];
        [_telePhone setTitle:@"400 16988 01" forState:UIControlStateNormal];
        [_telePhone setTitleColor:COLOR(120, 120, 120, 1) forState:UIControlStateNormal];
        _telePhone.titleLabel.font=[UIFont systemFontOfSize:15];
        [_telePhone setImage:[UIImage imageNamed:@"telephone"] forState:UIControlStateNormal];
        [self addSubview:_telePhone];
        
        UIView *sep2=[[UIView alloc]initWithFrame:CGRectMake(0,110,kDeviceWidth,1)];
        sep2.backgroundColor=COLOR(200, 200, 200, 1);
        [self.contentView addSubview:sep2];
        
        UIView *lineView1=[[UIView alloc]initWithFrame:CGRectMake(0,111,kDeviceWidth,15)];
        lineView1.backgroundColor=COLOR(245, 245, 245, 1);
        [self.contentView addSubview:lineView1];
    }
    return self;
}





- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
